package com.yhn;

import com.hospital.common.config.FeignConfig;
import com.hospital.common.config.GlobalHandlerConfig;
import com.hospital.common.config.WebConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

//@SpringBootApplication(scanBasePackages = {"com.yhn","com.hospital.common"})
@SpringBootApplication
@MapperScan("com.yhn.mapper")
@EnableFeignClients(basePackages = "com.yhn.feign")
@Import({GlobalHandlerConfig.class, FeignConfig.class, WebConfig.class})
public class SectionModule {
    public static void main(String[] args) {
        SpringApplication.run(SectionModule.class, args);
    }
}